import 'package:flutter/material.dart';

class NoticePage extends StatefulWidget {
  const NoticePage({super.key});

  @override
  State<NoticePage> createState() => _NoticePageState();
}

class _NoticePageState extends State<NoticePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("消息"),
      ),
      body: DecoratedBox(
        decoration: BoxDecoration(color: Colors.orange),
        child: SizedBox(
          width: 200,
          height: 300,
          child: Text(
            "消息页面",
            textAlign: TextAlign.center,
            style: TextStyle(backgroundColor: Colors.blue),
          ),
        ),
      ),
      // body: DecoratedBox(
      //   decoration: BoxDecoration(color: Colors.orange),
      //   child: Column(
      //     mainAxisAlignment: MainAxisAlignment.start,
      //     children: [

      //       Text(
      //         "这里是消息页面的内容",
      //         textAlign: TextAlign.left,
      //       ),
      //     ],
      //   ),
      // ),
    );
  }
}
